$OpenBSD: patch-src_Makefile,v 1.3 2009/03/06 08:54:22 jasper Exp $
--- src/Makefile.orig	Wed Oct 22 09:06:32 2008
+++ src/Makefile	Wed Oct 22 09:07:32 2008
@@ -28,9 +28,8 @@ xzgv: $(OBJS)
 installdirs:
 	/bin/sh ../mkinstalldirs $(BINDIR)
 
-install: xzgv installdirs
-	install xzgv $(BINDIR)
-	chmod 755 $(BINDIR)/xzgv
+install: xzgv
+	$(BSD_INSTALL_PROGRAM) xzgv $(BINDIR)
 
 uninstall:
 	$(RM) $(BINDIR)/xzgv
